Skip to content

fleet queue reprioritize verb + GitHub category sync (#14100) - #14203

Merged
dezren39 merged 3 commits into
mainfrom
queue/21658-14100-slice1-060416
Nov 24, 2026
Merged

dezren39 merged 3 commits into
mainfrom
queue/21658-14100-slice1-060416

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Closes #14100.

Broker POST /reprioritize + turso_queue verb; client fleet queue reprioritize <task-id> <new-priority> [--reason].

T1–T7 evidence: 11 reprioritize tests green (validate scale/category mapping, 7 turso_queue lifecycle pipeline tests T1/T2/T4/T5/T6a/T6b/T7, 3 broker sync pins T3/T4); full fleet-queue --all-features lib suite 659 passed / 0 failed.

Follow-up fix on top: test_source() now truncates each file at its own #cfg(test) so inline test modules never hide production wiring from source-content oracles.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T08:19:14Z",
    "session_id": "ses_e5df37b400effeYwD9y6hjRO82",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/queue-21658-14100-060416",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/queue-21658-14100-060416",
      "repo": "developing-today/code",
      "branch": "queue/21658-14100-slice1-060416",
      "sha": "9bb73c51daf1caf3d8216a55c2e188f7c7fc9df8"
    },
    "auth_subject": "oc-code-05",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Broker route POST /reprioritize + turso_queue verb following /park
patterns; client fleet queue reprioritize <task-id> <new-priority>
[--worker] [--reason]; PRIORITY_SCALE validation; queued/claimed/
parked/blocked only with priority-only write for claimed tasks; one
transaction (guarded row update, packet payload.priority copy, one
reprioritized history event with from/to/category/issue/actor/reason);
broker GitHub sync swaps priority/* labels, sets lineage.priority in
existing pm-metadata blocks, never touches expedite/next-up; sync
failure records reprioritize_sync_pending + durable outbox row retried
by broker, visible on show/timeline until clear.
…g visible

The reprioritize_tests module added to lifecycle.rs moved the first
#[cfg(test)] marker ahead of stacks_outbox/admin in the concatenated
test_source, hiding dispatch arms from 4 source-content oracles
(dep_wiring, dep_drop, quarantine_wiring, verb_block body). Truncate
each file at its own marker instead.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 58 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: eedf947e-69b6-4928-8c2c-8024a87ad3bf
Commits

Reviewing files that changed from the base of the PR and between f07e71f and a041396.

Files selected for processing: 10

  • pkgs/fleet/crates/fleet-queue/src/client.rs
  • pkgs/fleet/crates/fleet-queue/src/client/commands_lifecycle.rs
  • pkgs/fleet/crates/fleet-queue/src/client/commands_query.rs
  • pkgs/fleet/crates/fleet-queue/src/client/support.rs
  • pkgs/fleet/crates/fleet-queue/src/queue_broker.rs
  • pkgs/fleet/crates/fleet-queue/src/turso_queue.rs
  • pkgs/fleet/crates/fleet-queue/src/turso_queue/core.rs
  • pkgs/fleet/crates/fleet-queue/src/turso_queue/lifecycle.rs
  • pkgs/fleet/crates/fleet-queue/src/turso_queue/stacks_outbox.rs
  • pkgs/fleet/crates/fleet-queue/src/validate.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39
dezren39 merged commit ca1346a into main Nov 24, 2026
1 check passed
@dezren39
dezren39 deleted the queue/21658-14100-slice1-060416 branch November 24, 2026 08:30
dezren39 added a commit that referenced this pull request Nov 24, 2026
The reprioritize verb (landed in #14100, PR #14203) is dispatched by the
queue client, served by the broker, and documented in the Fleet book, but
was never added to the queue domain's registry subcommand inventory. The
DOC-01 machine test published_queue_reference_matches_registered_help_inventory
flags the book heading as unregistered. Add the verb in help order
(between checkpoint and park, matching TOP_USAGE) and correct the book
note that claimed it was unregistered.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fleet queue: add a reprioritize verb — change a live task priority and auto-sync the GitHub priority category

1 participant